package com.tim.temp;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.validation.constraints.*;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 安装订单请求对象
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class QueryOrderRequest {

    @NotBlank(message = "AppCode 不能为空")
    @Size(max = 50, message = "AppCode 最长为 50 个字符")
    @JsonProperty("AppCode")
    @ApiModelProperty(value = "申请编号", required = true, notes = "若没有则会根据规则自动生成编号")
    private String appCode;

}
